package com.small.sentinel;

import com.small.sentinel.slots.block.BlockException;

public interface SphResourceTypeSupport {

    /**
     * 使用提供的分类记录统计信息并对给定资源执行规则检查
     * @param name
     * @param resourceType 资源类型
     * @param trafficType 流量类型
     * @return
     * @throws BlockException
     */
    Entry entryWithType(String name, int resourceType, EntryType trafficType, int count, Object[] args) throws BlockException;

}
